home *** CD-ROM | disk | FTP | other *** search
/ Revista do CD-ROM 100 / CD-ROM 100.iso / aplic / oo1_1 / f_0328 / scalc.jar / text / scalc / guide / formulas.xml < prev    next >
Encoding:
Extensible Markup Language  |  2003-04-30  |  8.3 KB  |  84 lines

  1. <?xml version="1.0" encoding="utf-8"?>
  2. <html><head><title>Calculating With Formulas</title><meta name="filename" content="text/scalc/guide/formulas"/><help:css-file-link xmlns:help="http://openoffice.org/2000/help"/><!--The CSS style header method for setting styles--><style type="text/css">
  3.  
  4.         table.Tabelle1{
  5.                 }
  6.         span.Tabelle1A{
  7.                 width:1.499cm;}
  8.         span.Tabelle1B{
  9.                 width:16.498cm;}
  10.         tr.Tabelle11{
  11.                 }
  12.         td.Tabelle1A1{
  13.                 }
  14.         table.Tabelle2{
  15.                 }
  16.         span.Tabelle2A{
  17.                 width:7.495cm;}
  18.         span.Tabelle2B{
  19.                 width:10.502cm;}
  20.         td.Tabelle2A1{
  21.                 }
  22.         td.Tabelle2B1{
  23.                 border-width:0.002cm; border-style:solid; border-color:#000000;}
  24.         td.Tabelle2A2{
  25.                 }
  26.         td.Tabelle2B2{
  27.                 }
  28.         p.P1{
  29.                 }
  30.         span.fr1{
  31.                 }
  32.         </style></head><body>
  33.   
  34.   
  35.   <p class="P1"/>
  36.   <p class="Head1"><help:paragraphinfo state="U" number="20" xmlns:help="http://openoffice.org/2000/help"/><help:key-word value="formulas; in table cells" tag="kw68081_1" xmlns:help="http://openoffice.org/2000/help"/><help:key-word value="calculating; with formulas" tag="kw68081_3" xmlns:help="http://openoffice.org/2000/help"/><help:key-word value="references; in table formulas" tag="kw68081_2" xmlns:help="http://openoffice.org/2000/help"/><help:to-be-embedded Eid="formulas" xmlns:help="http://openoffice.org/2000/help"><help:link Id="68081">Calculating With Formulas</help:link></help:to-be-embedded></p>
  37.   <p class="Paragraph"><help:paragraphinfo state="U" number="21" xmlns:help="http://openoffice.org/2000/help"/>All formulas begin with an equals sign. The formulas may contain numbers or text, and other data is also possible such as format details. The formulas also contain arithmetic operators, logic operators or function starts.</p>
  38.   <table><tr class="Tabelle11"><th class="Tabelle1A1" style="text-align:left;"><span class="Tabelle1A">
  39.       <p class="Paragraph"><draw:image draw:name="Icon0" svg:desc="This icon is for tips on how to use the program more effectively." svg:pixelx="32" svg:pixely="32" svg:width="0.847cm" svg:height="0.847cm" xlink:href="66732" draw:filter-name="" xmlns:draw="http://openoffice.org/2000/drawing" xmlns:svg="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink"/></p>
  40.  
  41.      </span></th><th class="Tabelle1A1" style="text-align:left;"><span class="Tabelle1B">
  42.       <p class="Paragraph"><help:paragraphinfo state="U" number="39" xmlns:help="http://openoffice.org/2000/help"/>Remember that the basic arithmetic signs (+, -, *, /) can be used in formulas using the "Multiplication and Division before Addition and Subtraction" rule. Instead of writing =SUM(A1:B1) it is better to write =A1+B1.</p>
  43.       <p class="Paragraph"><help:paragraphinfo state="U" number="42" xmlns:help="http://openoffice.org/2000/help"/>Parentheses can also be used. The result of the formula =(1+2)*3 produces a different result than =1+2*3.</p>
  44.      </span></th></tr></table>
  45.   <p class="Paragraph"><help:paragraphinfo state="U" number="23" xmlns:help="http://openoffice.org/2000/help"/>Here are a few examples of <help:productname xmlns:help="http://openoffice.org/2000/help">%PRODUCTNAME</help:productname> Calc formulas:</p>
  46.   <table border="1" bordercolor="#000000" cellpadding="2" cellspacing="0" page-break-inside="page-break-inside:avoid"><tr class=""><td class="Tabelle2A1" style="text-align:left;"><span class="Tabelle2A">
  47.      <p class="Paragraph"><help:paragraphinfo state="U" number="24" xmlns:help="http://openoffice.org/2000/help"/>=A1+10</p>
  48.     </span></td><td class="Tabelle2B1" style="text-align:left;"><span class="Tabelle2B">
  49.      <p class="Paragraph"><help:paragraphinfo state="U" number="25" xmlns:help="http://openoffice.org/2000/help"/>Displays the contents of cell A1 plus 10.</p>
  50.     </span></td></tr><tr class=""><td class="Tabelle2A2" style="text-align:left;"><span class="Tabelle2A">
  51.      <p class="Paragraph"><help:paragraphinfo state="U" number="45" xmlns:help="http://openoffice.org/2000/help"/>=A1*16%</p>
  52.     </span></td><td class="Tabelle2B2" style="text-align:left;"><span class="Tabelle2B">
  53.      <p class="Paragraph"><help:paragraphinfo state="U" number="46" xmlns:help="http://openoffice.org/2000/help"/>Displays 16% of the contents of A1.</p>
  54.     </span></td></tr><tr class=""><td class="Tabelle2A2" style="text-align:left;"><span class="Tabelle2A">
  55.      <p class="Paragraph"><help:paragraphinfo state="U" number="47" xmlns:help="http://openoffice.org/2000/help"/>=A1 * A2</p>
  56.     </span></td><td class="Tabelle2B2" style="text-align:left;"><span class="Tabelle2B">
  57.      <p class="Paragraph"><help:paragraphinfo state="U" number="48" xmlns:help="http://openoffice.org/2000/help"/>Displays the result of the multiplication of A1 and A2.</p>
  58.     </span></td></tr><tr class=""><td class="Tabelle2A2" style="text-align:left;"><span class="Tabelle2A">
  59.      <p class="Paragraph"><help:paragraphinfo state="U" number="26" xmlns:help="http://openoffice.org/2000/help"/>=ROUND(A1;1)</p>
  60.     </span></td><td class="Tabelle2B2" style="text-align:left;"><span class="Tabelle2B">
  61.      <p class="Paragraph"><help:paragraphinfo state="U" number="27" xmlns:help="http://openoffice.org/2000/help"/>Rounds the contents in cell A1 to one decimal place.</p>
  62.     </span></td></tr><tr class=""><td class="Tabelle2A2" style="text-align:left;"><span class="Tabelle2A">
  63.      <p class="Paragraph"><help:paragraphinfo state="U" number="28" xmlns:help="http://openoffice.org/2000/help"/>=EFFECTIVE(5%;12)</p>
  64.     </span></td><td class="Tabelle2B2" style="text-align:left;"><span class="Tabelle2B">
  65.      <p class="Paragraph"><help:paragraphinfo state="U" number="29" xmlns:help="http://openoffice.org/2000/help"/>Calculates the effective interest for 5% annual nominal interest with 12 payments a year.</p>
  66.     </span></td></tr><tr class=""><td class="Tabelle2A2" style="text-align:left;"><span class="Tabelle2A">
  67.      <p class="Paragraph"><help:paragraphinfo state="U" number="33" xmlns:help="http://openoffice.org/2000/help"/>=B8-SUM(B10:B14)</p>
  68.     </span></td><td class="Tabelle2B2" style="text-align:left;"><span class="Tabelle2B">
  69.      <p class="Paragraph"><help:paragraphinfo state="U" number="34" xmlns:help="http://openoffice.org/2000/help"/>Calculates B8 minus the sum of the cells B10 to B14.</p>
  70.     </span></td></tr><tr class=""><td class="Tabelle2A2" style="text-align:left;"><span class="Tabelle2A">
  71.      <p class="Paragraph"><help:paragraphinfo state="U" number="35" xmlns:help="http://openoffice.org/2000/help"/>=SUM(B8;SUM(B10:B14))</p>
  72.     </span></td><td class="Tabelle2B2" style="text-align:left;"><span class="Tabelle2B">
  73.      <p class="Paragraph"><help:paragraphinfo state="U" number="36" xmlns:help="http://openoffice.org/2000/help"/>Calculates the sum of cells B10 to B14 and adds the value to B8.</p>
  74.     </span></td></tr><tr class=""><td class="Tabelle2A2" style="text-align:left;"><span class="Tabelle2A">
  75.      <p class="Paragraph"><help:paragraphinfo state="U" number="50" xmlns:help="http://openoffice.org/2000/help"/>=SUM(B1:B32000)</p>
  76.     </span></td><td class="Tabelle2B2" style="text-align:left;"><span class="Tabelle2B">
  77.      <p class="Paragraph"><help:paragraphinfo state="U" number="51" xmlns:help="http://openoffice.org/2000/help"/>Sums all numbers in column B.</p>
  78.     </span></td></tr></table>
  79.   <p class="Paragraph"><help:paragraphinfo state="U" number="30" xmlns:help="http://openoffice.org/2000/help"/>It is also possible to nest functions in formulas, as shown in the example. You can also nest functions within functions. The Function AutoPilot assists you with nested functions.</p>
  80.   <p class="ParaList"><help:paragraphinfo state="S" xmlns:help="http://openoffice.org/2000/help"/><help:embedded Id="65598" Eid="related" xmlns:help="http://openoffice.org/2000/help"/></p>
  81.   <p class="ParaList"><help:paragraphinfo state="S" xmlns:help="http://openoffice.org/2000/help"/><help:embedded Id="68298" Eid="formula_enter" xmlns:help="http://openoffice.org/2000/help"/></p>
  82.   <p class="ParaList"><help:paragraphinfo state="U" number="44" xmlns:help="http://openoffice.org/2000/help"/><help:link Id="66815" xmlns:help="http://openoffice.org/2000/help">Functions list</help:link></p>
  83.   <p class="ParaList"><help:paragraphinfo state="U" number="43" xmlns:help="http://openoffice.org/2000/help"/><help:link Id="66841" xmlns:help="http://openoffice.org/2000/help">AutoPilot: Functions</help:link></p>
  84.  </body></html>